Skip to content

docs: document compact tracing hierarchy#3839

Open
william-xue wants to merge 1 commit into
openai:mainfrom
william-xue:docs/compact-tracing-hierarchy
Open

docs: document compact tracing hierarchy#3839
william-xue wants to merge 1 commit into
openai:mainfrom
william-xue:docs/compact-tracing-hierarchy

Conversation

@william-xue

Copy link
Copy Markdown
Contributor

What

  • list the automatic task and turn spans in the tracing guide
  • show how to disable those wrapper spans for a more compact hierarchy
  • clarify that other automatic and custom spans remain enabled

Why

include_task_and_turn_spans is now available per run, but the tracing guide does not yet show how to use it or describe what remains recorded.

Test

  • uv run mkdocs build
  • git diff --check
  • validated the documented RunConfig construction in Python

@seratch

seratch commented Jul 15, 2026

Copy link
Copy Markdown
Member

@codex review

@seratch seratch added the documentation Improvements or additions to documentation label Jul 15, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 3931abce11

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@seratch

seratch commented Jul 15, 2026

Copy link
Copy Markdown
Member

We can merge this once #3834 is released.

@seratch seratch added this to the 0.18.x milestone Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants